package com.heima.admin.feign;

import com.heima.common.dtos.Result;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 频道远程接口
 */
@FeignClient(name = "leadnews-admin",path = "/api/adChannel",contextId = "adChannel")
public interface AdChannelFeign {
    /**
     * 查询全部数据
     */
    @GetMapping("/list")
    public Result findAll();
}
